package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 方案对象 card_scheme
 *
 * @author ruoyi
 * @date 2025-01-25
 */
public class CardScheme extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 方案ID */
    private Long schemeId;

    /** 方案名称 */
    @Excel(name = "方案名称")
    private String schemeName;

    /** 方案编号 */
    @Excel(name = "方案编号")
    private String schemePlan;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    private Long[] deptIds;

    /** 用户id */
    @Excel(name = "有效期")
    private Integer yxq;

    @Excel(name = "删除标志")
    private Integer scbz;
    public void setScbz(Integer scbz)    {
        this.scbz = scbz;
    }
    public Integer getScbz()    {
        return scbz;
    }

    public void setSchemeId(Long schemeId)
    {
        this.schemeId = schemeId;
    }

    public Long getSchemeId()
    {
        return schemeId;
    }
    public void setSchemeName(String schemeName)
    {
        this.schemeName = schemeName;
    }

    public String getSchemeName()
    {
        return schemeName;
    }
    public void setSchemePlan(String schemePlan)
    {
        this.schemePlan = schemePlan;
    }

    public String getSchemePlan()
    {
        return schemePlan;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public Long[] getDeptIds()
    {
        return deptIds;
    }

    public void setDeptIds(Long[] deptIds)
    {
        this.deptIds = deptIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("schemeId", getSchemeId())
            .append("schemeName", getSchemeName())
            .append("schemePlan", getSchemePlan())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public Integer getYxq() {
        return yxq;
    }

    public void setYxq(Integer yxq) {
        this.yxq = yxq;
    }
}
